import Vue from 'vue'
import Router from 'vue-router'
// 登录
import login from '@/views/login/login'
// 侧边栏
import aside from '@/views/Aside'
// 头部
import header from '@/views/Header'
// 选择企业
import selectByEnt from '@/views/login/selectByenterprise'
// home页
import home from '@/views/Home'
// index页
import index from '@/views/index'
//error403
import error403 from '@/views/errors/error403'
//error404
import error404 from '@/views/errors/error404'
// 个人中心
import PersonalCenterHmPg from '@/views/PersonalCenter/PersonalCenterHmPg'
import WorkLog from '@/views/PersonalCenter/WorkLog'//工作日志
import Attendance from '@/views/PersonalCenter/Attendance'//出勤
import Announcement from '@/views/PersonalCenter/Announcement'//公告
import Reimbursement from '@/views/PersonalCenter/Reimbursement'//报销
import Application from '@/views/PersonalCenter/Application'//申请
import AddressBook from '@/views/PersonalCenter/AddressBook'//通讯录
import AddTask from '@/views/PersonalCenter/AddTask'  //发布任务
import TaskDetail from '@/views/PersonalCenter/TaskDetail' //任务详情
import EmployeeDiary from '@/views/PersonalCenter/EmployeeDiary'  //员工日志
import MoreDiary from '@/views/PersonalCenter/MoreDiary' //更多日志
import Apply from '@/views/PersonalCenter/Apply' //出勤申请
import ApplyDetail from '@/views/PersonalCenter/ApplyDetail' //出勤申请详情
import AnnouncementDetail from '@/views/PersonalCenter/AnnouncementDetail' //公告详情
import ReimbursementApply from '@/views/PersonalCenter/ReimbursementApply' //报销申请
import ReimbursementDetail from '@/views/PersonalCenter/ReimbursementDetail' //报销详情
import ApplicationForm from '@/views/PersonalCenter/ApplicationForm'  //申请单
import ApplicationDetail from '@/views/PersonalCenter/ApplicationDetail'  //申请单详情
import PayBackDetail from '@/views/PersonalCenter/PayBackDetail'  //还款
import Employeehandbook from '@/views/PersonalCenter/Employeehandbook'  //员工手册
import Documentdownload from '@/views/PersonalCenter/Documentdownload'  //文档下载
import WorkLogDetail from '@/views/PersonalCenter/WorkLogDetail' //日志详情
import FileAdd from '@/views/PersonalCenter/FileAdd' //新增文档
import Recruitment from '@/views/PersonalCenter/Recruitment' //招聘申请

// 总裁管理
import ManagerAuditHmPg from '@/views/ManagerAudit/ManagerAuditHmPg'
import AuditManagement from '@/views/ManagerAudit/AuditManagement'//审核管理
import AuditCaiwu from '@/views/ManagerAudit/AuditCaiwu'//财务审核
import AuditXingzheng from '@/views/ManagerAudit/AuditXingzheng'//行政审核
import Workflow from '@/views/ManagerAudit/Workflow'//工作流
import CustomerInformation from '@/views/ManagerAudit/CustomerInformation'//客户信息
import PermissionSet from '@/views/ManagerAudit/PermissionSet'//权限设置
import ShXq from '@/views/ManagerAudit/ShXq'
import KehuDetails from '@/views/ManagerAudit/KehuDetails'
import depart from '@/views/ManagerAudit/depart'
import AuditManagementDetail from '@/views/ManagerAudit/AuditManagementDetail'
import AddWorkflow from '@/views/ManagerAudit/AddWorkflow'
import AuditXingzhengPurchase from '@/views/ManagerAudit/AuditXingzhengPurchase'//行政采购（my）
// 财务管理
import FinanceHmPg from '@/views/FinancialManagement/FinanceHmPg'
import AccountManagement from '@/views/FinancialManagement/AccountManagement'//账目管理
import Invoicemanagement from '@/views/FinancialManagement/Invoicemanagement'//发票管理
import Contractmanagement from '@/views/FinancialManagement/Contractmanagement'
import CostManagement from '@/views/FinancialManagement/CostManagement'
import htManagement from '@/views/FinancialManagement/htManagement'
import CbManagement from '@/views/FinancialManagement/CbManagement'
import contractManageDeTails from '@/views/FinancialManagement/contractManageDeTails'//合同详情
import LssueDetails from '@/views/FinancialManagement/LssueDetails'//发放详情
import BillingManage from '@/views/FinancialManagement/BillingManage'//发放详情

// 行政管理
import AdministrationHmPg from '@/views/AdministrationManagement/AdministrationHmPg'
import MaterialManagement from '@/views/AdministrationManagement/MaterialManagement'//物资管理
import VehicleManagement from '@/views/AdministrationManagement/VehicleManagement'//车辆管理
import VehicleManagementAdd from '@/views/AdministrationManagement/VehicleManagementAdd'//车辆管理  添加（my）
import VehicleManagementcarxiangqTwo from '@/views/AdministrationManagement/VehicleManagementcarxiangqTwo'//车辆管理  添加（my）
import VehicleManagementcarxiangq from '@/views/AdministrationManagement/VehicleManagementcarxiangq'//车辆详情
import Routinemaintenance from '@/views/AdministrationManagement/Routinemaintenance'//日常维修
import Receptionmanagement from '@/views/AdministrationManagement/Receptionmanagement'//接待管理
import Purchasingmanage from '@/views/AdministrationManagement/Purchasingmanage'//行政-采购管理
import AdministrationaddNotice from '@/views/AdministrationManagement/AdministrationaddNotice'//发公告
import AdministrationNoticexiangq from '@/views/AdministrationManagement/AdministrationNoticexiangq'//公告详情
import Administrationaddmaterial from '@/views/AdministrationManagement/Administrationaddmaterial'//新增物资
import Administrationmaterialxiangq from '@/views/AdministrationManagement/Administrationmaterialxiangq'//物资详情
import Administrationmaterialtwoxiangq from '@/views/AdministrationManagement/Administrationmaterialtwoxiangq'//物资详情里面的详情
import Routinemaintenanceaddequipment from '@/views/AdministrationManagement/Routinemaintenanceaddequipment'//新增设备
import Routinemaintenanceaddequipmentxiangq
  from '@/views/AdministrationManagement/Routinemaintenanceaddequipmentxiangq '//日常维修详情
import Routinemaintenancetwoxiangq from '@/views/AdministrationManagement/Routinemaintenancetwoxiangq'//日常维修详情
import Receptionmanagementshenhe from '@/views/AdministrationManagement/Receptionmanagementshenhe'//接待管理的审核
import Receptionmanagementxiangq from '@/views/AdministrationManagement/Receptionmanagementxiangq'//接待管理的详情
import PurchasingmanageaddNotice from '@/views/AdministrationManagement/PurchasingmanageaddNotice'//采购计划
import Purchasingmanageruku from '@/views/AdministrationManagement/Purchasingmanageruku'//入库
import CheLiangdk from '@/views/AdministrationManagement/CheLiangdk'//车辆调度
import Documentdownloads from '@/views/AdministrationManagement/Documentdownloads'//文档上传
import VehicleManagementdiaocar from '@/views/AdministrationManagement/VehicleManagementdiaocar'//申请调车
import VehicleManagementdiaocarxiangq from '@/views/AdministrationManagement/VehicleManagementdiaocarxiangq'//申请调车详情
import ADDocumentdownloads from '@/views/AdministrationManagement/ADDocumentdownloads'//新增文件
import Documentdownloadsbianji from '@/views/AdministrationManagement/Documentdownloadsbianji'//新增文件
import Documentdownloadsxiangq from '@/views/AdministrationManagement/Documentdownloadsxiangq'//文件详情
import Employeehandbooks from '@/views/AdministrationManagement/Employeehandbooks'//员工手册
// 人事管理
import PersonnelHmPg from '@/views/PersonnelManagement/PersonnelHmPg'
import CompensationManagement from '@/views/PersonnelManagement/CompensationManagement'//薪酬管理
import Recruitmentmanagement from '@/views/PersonnelManagement/Recruitmentmanagement'//招聘管理
import TrainingManagement from '@/views/PersonnelManagement/TrainingManagement'//培训管理
import EmployeeInformation from '@/views/PersonnelManagement/EmployeeInformation'//员工信息
import EmployeeLiZhi from '@/views/PersonnelManagement/EmployeeLiZhi'//离职员工
import AttendanceSheet from '@/views/PersonnelManagement/AttendanceSheet'//考勤表
import AttendanceSheetXq from '@/views/PersonnelManagement/AttendanceSheetXq'//考勤表详情
import PersonnelHmPgXq from '@/views/PersonnelManagement/PersonnelHmPgXq'//考勤详情
import CompensationManagementXq from '@/views/PersonnelManagement/CompensationManagementXq'//薪酬管理详情
import RecruitmentmanagementList from '@/views/PersonnelManagement/RecruitmentmanagementList'//招聘管理列表
import RecruitmentmanagementXq from '@/views/PersonnelManagement/RecruitmentmanagementXq'//新增招聘
import TrainingManagementXq from '@/views/PersonnelManagement/TrainingManagementXq'//新增培训
import EmployeeInformationList from '@/views/PersonnelManagement/EmployeeInformationList'//员工列表
import EmployeeInformationXq from '@/views/PersonnelManagement/EmployeeInformationXq'//新增员工
import EmployeeLiZhiList from '@/views/PersonnelManagement/EmployeeLiZhiList'//离职员工列表
import EmployeeLiZhiXq from '@/views/PersonnelManagement/EmployeeLiZhiXq'//离职员工详情
import CompensationManagementAdd from '@/views/PersonnelManagement/CompensationManagementAdd'//薪酬管理新增
import RecruitmentmanagementAdd from '@/views/PersonnelManagement/RecruitmentmanagementAdd'//招聘新增
import TrainingManagementAdd from '@/views/PersonnelManagement/TrainingManagementAdd'//培训新增
import EmployeeInformationAdd from '@/views/PersonnelManagement/EmployeeInformationAdd'//员工新增
import EmployeeInformationBj from '@/views/PersonnelManagement/EmployeeInformationBj'//员工编辑
import EmployeeInformationdetail from '@/views/PersonnelManagement/EmployeeInformationdetail'//员工详情//EmployeeInformationdetail
// 销售管理
import SalesHmPg from "@/views/SalesManagement/SalesHmPg";
import OrderManagement from "@/views/SalesManagement/OrderManagement"; //订单管理
import SalesPlan from "@/views/SalesManagement/SalesPlan"; //销售计划
import CustomerManage from "@/views/SalesManagement/CustomerManage"; //销售-客户信息
import Aftersalesmanage from "@/views/SalesManagement/Aftersalesmanage"; //售后管理
import pickuptruck from "@/views/SalesManagement/pickuptruck"; //订单管理-皮卡
import OrderManagementXq from "@/views/SalesManagement/OrderManagementXq"; //新增订单
import SalesPlanXq from "@/views/SalesManagement/SalesPlanXq"; //新增销售计划
import CustomerManageXq from "@/views/SalesManagement/CustomerManageXq"; //新增客户
import SalesPlanAdd from "@/views/SalesManagement/SalesPlanAdd"; //新增订单计划
import OrderManagementAdd from "@/views/SalesManagement/OrderManagementAdd"; //订单新增
import CustomerManageAdd from "@/views/SalesManagement/CustomerManageAdd"; //客户新增
import CustomerManageBj from "@/views/SalesManagement/CustomerManageBj"; //客户编辑
import pickuptruckXq from "@/views/SalesManagement/pickuptruckXq"; //皮卡编辑
import pickuptruckAdd from "@/views/SalesManagement/pickuptruckAdd"; //皮卡新增
import DeliverGoodsManage from "@/views/SalesManagement/DeliverGoodsManage"; //发货管理
import PlanManage from "@/views/SalesManagement/PlanManage"; //计划管理
import SaleContracts from "@/views/SalesManagement/SaleContracts"; //销售合同
import ExamineManage from "@/views/SalesManagement/ExamineManage"; //审核管理
import PlanManagexq from "@/views/SalesManagement/PlanManagexq"; // 计划详情
import PlanManageAdd from "@/views/SalesManagement/PlanManageAdd"; //新增销售
import SaleContractsAdd from "@/views/SalesManagement/SaleContractsAdd"; // 新增销售合同
import SaleContractsXq from "@/views/SalesManagement/SaleContractsXq"; // 新增销售合同
import SaleContractsBj from "@/views/SalesManagement/SaleContractsBj"; // 新增销售合同
import ExamineManagexq from "@/views/SalesManagement/ExamineManagexq"; // 新增销售合同
import ExamineManagesh from "@/views/SalesManagement/ExamineManagesh"; // 新增销售合同
import PlanManageSh from "@/views/SalesManagement/PlanManageSh";
import SaleContractsSH from "@/views/SalesManagement/SaleContractsSH";
import OrderManagementSH from "@/views/SalesManagement/OrderManagementSH";
// 采购管理
import PurchaseHmPg from '@/views/PurchaseManagement/PurchaseHmPg'
import Purchasingmanaged from '@/views/PurchaseManagement/Purchasingmanaged'//采购管理
import PurchaseEvent from '@/views/PurchaseManagement/PurchaseEvent'
import Purchasingplan from '@/views/PurchaseManagement/Purchasingplan'//采购计划
import Suppliermanagement from '@/views/PurchaseManagement/Suppliermanagement'//供货商管理
import Safetystock from '@/views/PurchaseManagement/Safetystock'//安全库存
import SalePlan from '@/views/PurchaseManagement/SalePlan'//采购-销售计划
import WaiJiaGong from '@/views/PurchaseManagement/WaiJiaGong'//采购-外加工
import DetailsNew from '@/views/PurchaseManagement/DetailsNew'
import Newsupply from '@/views/PurchaseManagement/Newsupply'
import Orderdetails from '@/views/PurchaseManagement/Orderdetails'
import PurchaDetails from '@/views/PurchaseManagement/PurchaDetails'
import ExamineManagePur from '@/views/PurchaseManagement/ExamineManage'//审核管理
import ProcurementContract from '@/views/PurchaseManagement/ProcurementContract'//采购合同
import ReturnGoodsManage from '@/views/PurchaseManagement/ReturnGoodsManage'//退货管理
import SettlementDetail from '@/views/PurchaseManagement/SettlementDetail'//
import NewContractPurchase from '@/views/PurchaseManagement/NewContractPurchase'//新增的采购合同
import ExaminePurchaseContract from "@/views/PurchaseManagement/ExamineManageDetailPurchaseContract"

// 仓库管理
import WarehouseHmPg from '@/views/WarehouseManagement/WarehouseHmPg'
import LogisticsList from '@/views/WarehouseManagement/LogisticsList'//物流清单
import CollectionScheme from '@/views/WarehouseManagement/CollectionScheme'//领料计划
import Rawmaterialstore from '@/views/WarehouseManagement/Rawmaterialstore'//原料库
import Semifinishedwh from '@/views/WarehouseManagement/Semifinishedwh'//半成品库
import Finishedstore from '@/views/WarehouseManagement/Finishedstore'//成品库
import ScrapYard from '@/views/WarehouseManagement/ScrapYard'//废品库
import DeliveryManagement from '@/views/WarehouseManagement/DeliveryManagement'//发货管理
import xqByRawmaterialstore from '@/views/WarehouseManagement/xqByRawmaterialstore' //成品库 半成品库 原料库  详情
import ReturnGoodsManageWare from '@/views/WarehouseManagement/ReturnGoodsManageWare' //退货管理
import ReceivingGoodsManage from '@/views/WarehouseManagement/ReceivingGoodsManage'//
import WAREProductDetail from '@/views/WarehouseManagement/ProductDetail'//产品详情
// 生产管理
import ProductionHmPg from '@/views/ProductionManagement/ProductionHmPg'
import Productionmanage from '@/views/ProductionManagement/Productionmanage'//生产管理
import ProductionPlan from '@/views/ProductionManagement/ProductionPlan'//生产计划
import ProductionStaff from '@/views/ProductionManagement/ProductionStaff'//生产部员工
import Payrollmanagement from '@/views/ProductionManagement/Payrollmanagement'//薪资管理
import XsPlan from '@/views/ProductionManagement/XsPlan'//销售计划
import FwaiJiaGong from '@/views/ProductionManagement/FwaiJiaGong'//外发加工
import EmployeeDetails from '@/views/ProductionManagement/EmployeeDetails'//员工详情
import StaffSeconded from '@/views/ProductionManagement/StaffSeconded'//人员借调
import EmployeeShenhe from '@/views/ProductionManagement/EmployeeShenhe'//人员审核
import SecondedShenq from '@/views/ProductionManagement/SecondedShenq'//借调申请
import Payroll from '@/views/ProductionManagement/Payroll'//薪资编辑
import ProductionDetails from '@/views/ProductionManagement/ProductionDetails'//生产管理详情
import Planxiangq from '@/views/ProductionManagement/Planxiangq'//生产计划详情
import PlanadJustment from '@/views/ProductionManagement/PlanadJustment'//生产计划编辑
import EmployeeXiangq from '@/views/ProductionManagement/EmployeeXiangq'//人员详情
import PayollAdd from '@/views/ProductionManagement/PayollAdd'//薪资新增


// 产品管理
import ProductHmPg from '@/views/ProductManagement/ProductHmPg'
import MaterialManagementd from '@/views/ProductManagement/MaterialManagement'//物料管理
import OrderReview from '@/views/ProductManagement/OrderReview'//订单评审
import CpsalesPlan from '@/views/ProductManagement/CpsalesPlan'//销售计划
import AddProduct from '@/views/ProductManagement/AddProduct'  //新增产品
import AddMaterial from '@/views/ProductManagement/AddMaterial' //新增物料
import ProductDetail from '@/views/ProductManagement/ProductDetail' //产品详情
import MaterialDetail from '@/views/ProductManagement/MaterialDetail' //物料详情
import OrderDetail from '@/views/ProductManagement/OrderDetail' //订单详情
import SalesDetail from '@/views/ProductManagement/SalesDetail'  //销售计划详情
import EditProduct from '@/views/ProductManagement/EditProduct' //编辑产品
import BOOM from '@/views/ProductManagement/BOOM' //BOOM清单库
import AddBOOM from '@/views/ProductManagement/AddBOOM' //新增BOOM
import BoomXq from '@/views/ProductManagement/BoomXq' //BoomXq
import BoomXq2 from '@/views/ProductManagement/BoomXq2' //BoomXq2
// 设备管理
import EquipmentHmPg from '@/views/EquipmentManagement/EquipmentHmPg'
import NewQuipment from '@/views/EquipmentManagement/NewQuipment'//新增设备
import MoJuManage from '@/views/EquipmentManagement/MoJuManage'//模具管理
import ZhiJian from '@/views/EquipmentManagement/ZhiJian'//质检设备
import QuipmentBianj from '@/views/EquipmentManagement/QuipmentBianj'//设备信息编辑
import QuipmentXiangq from '@/views/EquipmentManagement/QuipmentXiangq'//设备信息详情
import NewMoJu from '@/views/EquipmentManagement/NewMoJu'//新增磨具
import NewZhiJian from '@/views/EquipmentManagement/NewZhiJian'//新增质检


// 品质管理
import QualityHmPg from '@/views/QualityManagement/QualityHmPg'
import Productiontesting from '@/views/QualityManagement/Productiontesting'//生产检测
import Returndetection from '@/views/QualityManagement/Returndetection'//返件检测
import Qualityfeedback from '@/views/QualityManagement/Qualityfeedback'//质量反馈
import InspectionStandard from '@/views/QualityManagement/InspectionStandard'//检验标准
import PzSalesPlan from '@/views/QualityManagement/PzSalesPlan'//品质-销售计划
import PzSalesaddPlan from '@/views/QualityManagement/PzSalesaddPlan'//新增销售计划
//检测标准弹窗
import TestStanDardNewlyAdded from '@/views/QualityManagement/PopupFile/TestStanDardNewlyAdded'//新增检测标准弹窗
import TestStanDardEdit from '@/views/QualityManagement/PopupFile/TestStanDardEdit'//编辑检测标准弹窗
import TestStanDardDetails from '@/views/QualityManagement/PopupFile/TestStanDardDetails'//详情检测标准弹窗
//来料检测弹窗
import LaiLiaoTesting from '@/views/QualityManagement/PopupFile/LaiLiaoTesting'//来料检测弹窗
//生产检测弹窗
import ShengChangTesting from '@/views/QualityManagement/PopupFile/ShengChangTesting'//生产检测弹窗
//质量检测弹窗
import ZhiLiangTesting from '@/views/QualityManagement/PopupFile/ZhiLiangTesting'
import AfterSaleHmPg from "@/views/AfterSaleManagement/AfterSaleHmPg";
import ExaminManage from "@/views/AfterSaleManagement/ExaminManage";
import ExternalLibraryManage from "@/views/AfterSaleManagement/ExternalLibraryManage";
import KaoQing from "@/views/AfterSaleManagement/KaoQing";
import ReturnManage from "@/views/AfterSaleManagement/ReturnManage";
import SalaryManage from "@/views/AfterSaleManagement/SalaryManage";
import ServicePersonal from "@/views/AfterSaleManagement/ServicePersonal";
import StationService from "@/views/AfterSaleManagement/StationService";
import TelRepair from "@/views/AfterSaleManagement/TelRepair";
import ZhanDianRepair from "@/views/AfterSaleManagement/ZhanDianRepair";
import ZhuCangRepair from "@/views/AfterSaleManagement/ZhuCangRepair";
import ZhuCangRepairSHxq from "@/views/AfterSaleManagement/ZhuCangRepairSHxq";
import ZhanDianRepairAdd from "@/views/AfterSaleManagement/ZhanDianRepairAdd";
import ZhanDianRepairXq from "@/views/AfterSaleManagement/ZhanDianRepairXq";
import InvoicingNotice from "@/views/AfterSaleManagement/InvoicingNotice";
import InvoicingNoticeAdd from "@/views/AfterSaleManagement/InvoicingNoticeAdd";
import StationServiceAdd from "@/views/AfterSaleManagement/StationServiceAdd";
import StationServiceXx from "@/views/AfterSaleManagement/StationServiceXx";
import StationServiceXG from "@/views/AfterSaleManagement/StationServiceXG";
import ExaminManageXq from "@/views/AfterSaleManagement/ExaminManageXq";
import ExaminManageCPSH from "@/views/AfterSaleManagement/ExaminManageCPSH";
import ExaminManageGSSH from "@/views/AfterSaleManagement/ExaminManageGSSH";
import StationServiceXQSH from "@/views/AfterSaleManagement/StationServiceXQSH";

//质量检测弹窗
//站点管理
import SiteManageHmPg from "@/views/SiteManagement/SiteManageHmPg";
import SiteMaintenance from "@/views/SiteManagement/SiteMaintenance";
import ApplyManage from "@/views/SiteManagement/ApplyManage";
import SiteMaintenanceAdd from "@/views/SiteManagement/SiteMaintenanceAdd";
import SiteMaintenancexq from "@/views/SiteManagement/SiteMaintenancexq";
import SiteReturnManage from "@/views/SiteManagement/SiteReturnManage";
import SiteInvoicingManage from "@/views/SiteManagement/SiteInvoicingManage";
import AccessoriesProceTable from "@/views/SiteManagement/AccessoriesProceTable";
import SiteInvoicingManageXq from "@/views/SiteManagement/SiteInvoicingManageXq";


Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/selectByEnt',
      name: 'selectByEnt',
      component: selectByEnt
    },
    {
      path: '/home',
      name: 'home',
      component: home,
      children: [
        // 个人中心
        {path: '/PersonalCenterHmPg', component: PersonalCenterHmPg},
        {path: '/WorkLog', component: WorkLog},
        {path: '/Attendance', component: Attendance},
        {path: '/Announcement', component: Announcement},
        {path: '/Reimbursement', component: Reimbursement},
        {path: '/Application', component: Application},
        {path: '/AddressBook', component: AddressBook},
        {path: '/Employeehandbook', component: Employeehandbook}, //员工手册
        {path: '/Documentdownload', component: Documentdownload},

        // 总裁管理
        {path: '/ManagerAuditHmPg', component: ManagerAuditHmPg},
        {path: '/AuditManagement', component: AuditManagement},
        {path: '/Workflow', component: Workflow},
        {path: '/CustomerInformation', component: CustomerInformation},
        {path: '/PermissionSet', component: PermissionSet},
        // 财务管理
        {path: '/FinanceHmPg', component: FinanceHmPg},
        {path: '/AccountManagement', component: AccountManagement},
        {path: '/Invoicemanagement', component: Invoicemanagement},
        {path: '/Contractmanagement', component: Contractmanagement},
        {path: '/CostManagement', component: CostManagement},
        {path: '/htManagement', component: htManagement},
        {path: '/CbManagement', component: CbManagement},
        {path: '/BillingManage', component: BillingManage},

        // 行政管理
        {path: '/AdministrationHmPg', component: AdministrationHmPg},
        {path: '/MaterialManagement', component: MaterialManagement},
        {path: '/VehicleManagement', component: VehicleManagement},
        {path: '/Routinemaintenance', component: Routinemaintenance},
        {path: '/Receptionmanagement', component: Receptionmanagement},
        {path: '/Purchasingmanage', component: Purchasingmanage},
        {path: '/CheLiangdk', component: CheLiangdk},
        {path: '/Documentdownloads', component: Documentdownloads},
        {path: '/Employeehandbooks', component: Employeehandbooks},
        // 人事管理
        {path: '/PersonnelHmPg', component: PersonnelHmPg},
        {path: '/CompensationManagement', component: CompensationManagement},
        {path: '/Recruitmentmanagement', component: Recruitmentmanagement},
        {path: '/TrainingManagement', component: TrainingManagement},
        {path: '/EmployeeInformation', component: EmployeeInformation},
        {path: '/EmployeeLiZhi', component: EmployeeLiZhi},
        {path: '/RecruitmentmanagementList', component: RecruitmentmanagementList},  //招聘管理列表
        {path: '/EmployeeInformationList', component: EmployeeInformationList},  //员工列表
        {path: '/EmployeeLiZhiList', component: EmployeeLiZhiList},  //离职员工列表
        // 销售管理
        {path: '/SalesHmPg', component: SalesHmPg},
        {path: '/OrderManagement', component: OrderManagement},
        {path: '/SalesPlan', component: SalesPlan},
        {path: '/CustomerManage', component: CustomerManage},
        {path: '/Aftersalesmanage', component: Aftersalesmanage},
        {path: '/pickuptruck', component: pickuptruck},
        {path: '/DeliverGoodsManage', component: DeliverGoodsManage},
        {path: '/PlanManage', component: PlanManage},
        {path: '/SaleContracts', component: SaleContracts},
        {path: '/ExamineManage', component: ExamineManage},
        // 采购管理
        {path: '/PurchaseHmPg', component: PurchaseHmPg},
        {path: '/PurchaseEvent', component: PurchaseEvent},
        {path: '/Purchasingmanaged', component: Purchasingmanaged},
        {path: '/Purchasingplan', component: Purchasingplan},
        {path: '/Suppliermanagement', component: Suppliermanagement},
        {path: '/Safetystock', component: Safetystock},
        {path: '/SalePlan', component: SalePlan},
        {path: '/WaiJiaGong', component: WaiJiaGong},
        {path: '/WaiJiaGong', component: WaiJiaGong},
        {path: '/ExamineManagePur', component: ExamineManagePur},
        {path: '/ProcurementContract', component: ProcurementContract},
        {path: '/ReturnGoodsManage', component: ReturnGoodsManage},//退货管理
        // 仓库管理
        {path: '/WarehouseHmPg', component: WarehouseHmPg},
        {path: '/LogisticsList', component: LogisticsList},
        {path: '/CollectionScheme', component: CollectionScheme},
        {path: '/Rawmaterialstore', component: Rawmaterialstore},
        {path: '/Semifinishedwh', component: Semifinishedwh},
        {path: '/Finishedstore', component: Finishedstore},
        {path: '/ScrapYard', component: ScrapYard},
        {path: '/DeliveryManagement', component: DeliveryManagement},//发货管理
        {path: '/ReturnGoodsManageWare', component: ReturnGoodsManageWare},//退货管理
        {path: '/ReceivingGoodsManage', component: ReceivingGoodsManage},//收货管理
        //

        // 生产管理
        {path: '/ProductionHmPg', component: ProductionHmPg},
        {path: '/Productionmanage', component: Productionmanage},
        {path: '/ProductionPlan', component: ProductionPlan},
        {path: '/ProductionStaff', component: ProductionStaff},
        {path: '/Payrollmanagement', component: Payrollmanagement},
        {path: '/XsPlan', component: XsPlan},
        {path: '/FwaiJiaGong', component: FwaiJiaGong},
        // 产品管理
        {path: '/ProductHmPg', component: ProductHmPg},
        {path: '/MaterialManagementd', component: MaterialManagementd},
        {path: '/OrderReview', component: OrderReview},
        {path: '/CpsalesPlan', component: CpsalesPlan},
        {path: '/BOOM', component: BOOM},

        // 设备管理
        {path: '/EquipmentHmPg', component: EquipmentHmPg},
        {path: '/MoJuManage', component: MoJuManage},
        {path: '/ZhiJian', component: ZhiJian},

        // 品质管理
        {path: '/QualityHmPg', component: QualityHmPg},
        {path: '/Productiontesting', component: Productiontesting},
        {path: '/Returndetection', component: Returndetection},
        {path: '/Qualityfeedback', component: Qualityfeedback},
        {path: '/InspectionStandard', component: InspectionStandard},
        {path: '/PzSalesPlan', component: PzSalesPlan},
        //售后管理
        {path: '/AfterSaleHmPg', component: AfterSaleHmPg},
        {path: '/ExaminManage', component: ExaminManage},
        {path: '/ExternalLibraryManage', component: ExternalLibraryManage},
        {path: '/KaoQing', component: KaoQing},
        {path: '/ReturnManage', component: ReturnManage},
        {path: '/SalaryManage', component: SalaryManage},
        {path: '/ServicePersonal', component: ServicePersonal},
        {path: '/StationService', component: StationService},
        {path: '/TelRepair', component: TelRepair},
        {path: '/ZhanDianRepair', component: ZhanDianRepair},
        {path: '/ZhuCangRepair', component: ZhuCangRepair},
        {path: '/InvoicingNotice', component: InvoicingNotice},
        //站点管理
        {path: '/SiteManageHmPg', component: SiteManageHmPg},
        {path: '/SiteMaintenance', component: SiteMaintenance},
        {path: '/ApplyManage', component: ApplyManage},
        {path: '/SiteReturnManage', component: SiteReturnManage},
        {path: '/SiteInvoicingManage', component: SiteInvoicingManage},
        {path: '/AccessoriesProceTable', component: AccessoriesProceTable},
      ]
    },
    {
      path: '/index',
      name: 'index',
      component: index,
      meta: {
        keepAlive: false
      },
      // 除列表页之外的路由写在这儿
      children: [
        {path: '/ShXq', component: ShXq},
        {path: '/ShXq', component: ShXq},

        /*=============================================================许明龙*/
        { path: "/OrderManagementSH", component: OrderManagementSH },
        { path: "/ExamineManagesh", component: ExamineManagesh }, //审核管理审核
        { path: "/SaleContractsSH", component: SaleContractsSH },
        { path: "/PlanManageSh", component: PlanManageSh }, // 订单计划审核
        { path: "/ExamineManagexq", component: ExamineManagexq }, //审核管理详情
        { path: "/PlanManagexq", component: PlanManagexq }, //计划详情
        { path: "/PlanManageAdd", component: PlanManageAdd }, //新增销售计划
        { path: "/SaleContractsAdd", component: SaleContractsAdd }, //销售详情
        { path: "/SaleContractsXq", component: SaleContractsXq }, //销售详情
        { path: "/SaleContractsBj", component: SaleContractsBj }, //销售编辑
        {path: '/SiteMaintenanceAdd', component: SiteMaintenanceAdd}, // 站点管理新增维护
        {path: '/SiteMaintenancexq', component: SiteMaintenancexq}, // 站点管理新增维护
        {path: '/ZhuCangRepairSHxq', component: ZhuCangRepairSHxq}, // 站点管理新增维护
        {path: '/ZhanDianRepairAdd', component: ZhanDianRepairAdd}, // 站点管理新增维护
        {path: '/ZhanDianRepairXq', component: ZhanDianRepairXq}, // 站点管理新增维护
        {path: '/StationServiceAdd', component: StationServiceAdd}, // 站点管理新增维护
        {path: '/StationServiceXx', component: StationServiceXx}, // 站点管理新增维护
        {path: '/StationServiceXG', component: StationServiceXG}, // 站点管理新增维护
        {path: '/ExaminManageXq', component: ExaminManageXq}, // 站点管理新增维护
        {path: '/InvoicingNoticeAdd', component: InvoicingNoticeAdd}, // 站点管理新增维护
        {path: '/SiteInvoicingManageXq', component: SiteInvoicingManageXq}, // 站点管理新增维护
        {path: '/ExaminManageCPSH', component: ExaminManageCPSH}, // 售后站点产品申请
        {path: '/ExaminManageGSSH', component: ExaminManageGSSH}, // 售后站点工时申请
        {path: '/StationServiceXQSH', component: StationServiceXQSH}, // 售后站点详情

        /*高勇*/
        {path: '/AdministrationaddNotice', component: AdministrationaddNotice},//发公告
        {path: '/AdministrationNoticexiangq', component: AdministrationNoticexiangq},//公告详情
        {path: '/Administrationaddmaterial', component: Administrationaddmaterial},//新增物资
        {path: '/Administrationmaterialxiangq', component: Administrationmaterialxiangq},//物资详情
        {path: '/Administrationmaterialtwoxiangq', component: Administrationmaterialtwoxiangq},//物资详情里面的详情
        {path: '/Routinemaintenanceaddequipment', component: Routinemaintenanceaddequipment},//新增设备
        {path: '/VehicleManagementcarxiangq', component: VehicleManagementcarxiangq},//车辆详情
        {path: '/VehicleManagementAdd', component: VehicleManagementAdd},//新增车辆  （my）
        {path: '/VehicleManagementcarxiangqTwo', component: VehicleManagementcarxiangqTwo},//新增车辆  （my）
        {path: '/Routinemaintenanceaddequipmentxiangq', component: Routinemaintenanceaddequipmentxiangq},//日常维修详情
        {path: '/Routinemaintenancetwoxiangq', component: Routinemaintenancetwoxiangq},//日常维修详情里面的详情
        {path: '/Receptionmanagementshenhe', component: Receptionmanagementshenhe},//接待管理的审核
        {path: '/Receptionmanagementxiangq', component: Receptionmanagementxiangq},//接待管理的详情
        {path: '/PurchasingmanageaddNotice', component: PurchasingmanageaddNotice},//采购计划
        {path: '/Purchasingmanageruku', component: Purchasingmanageruku},//入库
        {path: '/xqByRawmaterialstore', component: xqByRawmaterialstore}, //成品库 半成品库 原料库详情
        {path: '/VehicleManagementdiaocar', component: VehicleManagementdiaocar},//申请调车
        {path: '/ADDocumentdownloads', component: ADDocumentdownloads},//新增文件
        {path: '/Documentdownloadsbianji', component: Documentdownloadsbianji},//编辑文件
        {path: '/Documentdownloadsxiangq', component: Documentdownloadsxiangq},//详情文件
        {path: '/VehicleManagementdiaocarxiangq', component: VehicleManagementdiaocarxiangq},//申请调车详情
        {path: '/PzSalesaddPlan', component: PzSalesaddPlan},//销售计划
        {path: '/AddTask', component: AddTask}, //发布任务
        {path: '/TaskDetail', component: TaskDetail}, //任务详情
        {path: '/EmployeeDiary', component: EmployeeDiary}, //员工日志
        {path: '/MoreDiary', component: MoreDiary}, //更多日志
        {path: '/AnnouncementDetail', component: AnnouncementDetail},  //公告详情
        {path: '/ReimbursementApply', component: ReimbursementApply}, //报销申请
        {path: '/ReimbursementDetail', component: ReimbursementDetail}, //报销详情
        {path: '/ApplicationForm', component: ApplicationForm},  //申请单
        // { path: '/AddPlan', component: AddPlan }, //添加计划
        {path: '/ApplicationDetail', component: ApplicationDetail}, //申请单详情
        {path: '/AddProduct', component: AddProduct}, //新增产品
        {path: '/AddMaterial', component: AddMaterial},  //新增物料
        {path: '/ProductDetail', component: ProductDetail},  //产品详情
        {path: '/MaterialDetail', component: MaterialDetail}, //物料详情
        {path: '/OrderDetail', component: OrderDetail},  //订单详情
        {path: '/Apply', component: Apply}, //出勤页面申请
        {path: '/ApplyDetail', component: ApplyDetail},  //申请详情
        //采购新增页面
        {path:"/ExaminePurchaseContract",component: ExaminePurchaseContract },
        {path:"/NewContractPurchase",component: NewContractPurchase },//新增采购合同
        {path: '/DetailsNew', component: DetailsNew},
        {path: '/Newsupply', component: Newsupply},
        {path: '/Orderdetails', component: Orderdetails},
        {path: '/PurchaDetails', component: PurchaDetails},
        {path: '/AttendanceSheet', component: AttendanceSheet},  //考勤表
        {path: '/AttendanceSheetXq', component: AttendanceSheetXq},  //考勤表详情
        {path: '/PersonnelHmPgXq', component: PersonnelHmPgXq},  //考勤详情
        {path: '/CompensationManagementXq', component: CompensationManagementXq},  //薪酬管理详情
        {path: '/RecruitmentmanagementXq', component: RecruitmentmanagementXq},  //新增招聘
        {path: '/TrainingManagementXq', component: TrainingManagementXq},  //新增培训
        {path: '/EmployeeInformationXq', component: EmployeeInformationXq},  //新增员工
        {path: '/EmployeeLiZhiXq', component: EmployeeLiZhiXq},  //离职员工详情
        {path: '/EmployeeInformationdetail', component: EmployeeInformationdetail},//EmployeeInformationdetail
        {path: '/SettlementDetail', component: SettlementDetail},//采购结算详情
        {path: '/EmployeeDetails', component: EmployeeDetails},//员工详情
        {path: '/StaffSeconded', component: StaffSeconded},//人员借调
        {path: '/EmployeeShenhe', component: EmployeeShenhe},//人员审核
        {path: '/SecondedShenq', component: SecondedShenq},//借调申请
        {path: '/Payroll', component: Payroll},//薪资编辑
        {path: '/NewQuipment', component: NewQuipment},//新增设备
        {path: '/OrderManagementXq', component: OrderManagementXq},//新增订单
        {path: '/SalesPlanXq', component: SalesPlanXq},//新增销售计划
        {path: '/CustomerManageXq', component: CustomerManageXq},//新增客户
        {path: '/SalesDetail', component: SalesDetail}, //产品管理--销售计划详情
        {path: '/KehuDetails', component: KehuDetails},
        {path: '/depart', component: depart},
        {path: '/AuditManagementDetail', component: AuditManagementDetail},
        {path: '/AddWorkflow', component: AddWorkflow},
        {path: '/WorkLogDetail', component: WorkLogDetail}, //日志详情
        {path: '/AuditCaiwu', component: AuditCaiwu}, //财务审核
        {path: '/AuditXingzheng', component: AuditXingzheng}, //行政审核
        {path: '/AuditXingzhengPurchase', component: AuditXingzhengPurchase}, //行政采购审核 （my）
        {path: '/CompensationManagementAdd', component: CompensationManagementAdd}, //薪酬新增
        {path: '/RecruitmentmanagementAdd', component: RecruitmentmanagementAdd},//招聘新增
        {path: '/TrainingManagementAdd', component: TrainingManagementAdd},//培训新增
        {path: '/EmployeeInformationAdd', component: EmployeeInformationAdd},//员工新增
        {path: '/EmployeeInformationBj', component: EmployeeInformationBj},//员工编辑
        {path: '/ProductionDetails', component: ProductionDetails},//生产管理详情
        {path: '/SalesPlanAdd', component: SalesPlanAdd},//员工新增
        {path: '/OrderManagementAdd', component: OrderManagementAdd},//订单新增
        {path: '/CustomerManageAdd', component: CustomerManageAdd},//客户新增
        {path: '/CustomerManageBj', component: CustomerManageBj},//客户编辑
        {path: '/PayBackDetail', component: PayBackDetail}, //还款
        {path: '/pickuptruckXq', component: pickuptruckXq},//皮卡详情
        {path: '/pickuptruckAdd', component: pickuptruckAdd},//皮卡新增
        {path: '/QuipmentBianj', component: QuipmentBianj},//设备信息编辑
        {path: '/QuipmentXiangq', component: QuipmentXiangq},//设备信息详情
        {path: '/Planxiangq', component: Planxiangq},//生产计划详情
        {path: '/PlanadJustment', component: PlanadJustment},//生产计划编辑
        {path: '/EmployeeXiangq', component: EmployeeXiangq},//
        {path: '/EditProduct', component: EditProduct}, //编辑产品
        {path: '/PayollAdd', component: PayollAdd}, //新增薪资
        {path: '/NewZhiJian', component: NewZhiJian}, //新增质检
        {path: '/NewMoJu', component: NewMoJu}, //新增模具
        {path: '/contractManageDeTails', component: contractManageDeTails}, // 合同详情
        {path: '/LssueDetails', component: LssueDetails}, // 发放详情
        {path: '/FileAdd', component: FileAdd}, //新增文档
        {path: '/Recruitment', component: Recruitment}, //招聘申请
        {path: '/AddBOOM', component: AddBOOM}, //AddBOOM
        {path: '/BoomXq', component: BoomXq}, //BoomXq
        {path: '/BoomXq2', component: BoomXq2}, //BoomXq2
        //检测标准弹窗
        {path: '/TestStanDardNewlyAdded', component: TestStanDardNewlyAdded},
        {path: '/TestStanDardEdit', component: TestStanDardEdit},
        {path: '/TestStanDardDetails', component: TestStanDardDetails},
        //来料检测弹窗
        {path: '/LaiLiaoTesting', component: LaiLiaoTesting},
        //生产检测弹窗
        {path: '/ShengChangTesting', component: ShengChangTesting},
        //质量检测弹窗
        {path: '/ZhiLiangTesting', component: ZhiLiangTesting},
        {path: '/WAREProductDetail',component: WAREProductDetail},
      ]
    },
    {
      path: '/error403',
      name: 'error403',
      component: error403
    },
    {
      path: '/error404',
      name: 'error404',
      component: error404
    }
  ]
})
